<div>{link controller="usermanager" action="newGroup" text="Create new group"}</div>
<div class="groups">
<table>
<tr>
	<th>Group ID</th>
	<th>Group Name</th>
</tr>
{foreach from=$groups key=key item=group}
	<tr>
		<td>{$group->id}</td>
		<td>{$group->name}</td>
		<td>
			{link controller="usermanager" action="editGroup" id=$group->id text="Edit"}
			{link controller="usermanager" action="deleteGroup" id=$group->id text="Delete"}
		</td>
	</tr>
{/foreach}
</table>
</div>